namespace CSharpPro;

public class Phone
{
    public string brand;
    public int weight;
    public int camera;
    public int price;
        
    
    public void DisplayInfo()
    {
        Console.WriteLine("a.品牌(Brand): "+brand);
        Console.WriteLine("b.重量(Weight): "+weight+"g");
        Console.WriteLine("c.后置摄像头像素(Camera): "+camera );
        Console.WriteLine("d.价格(Price): "+price);
    }
   


}